#include <scdl/parser/Symbol.hpp>

#include <cstdlib>
#include <cstring>
#include <iostream>

using std::cout;
using namespace scdl;

Boolean::Boolean()
        : val(false)
{
}

Boolean::~Boolean()
{
}

SymbolCategory Boolean::getCategory()
{
        return CATEGORY_BOOL;
}

void Boolean::prettyPrint(bool verbose)
{
        cout << (val ? "true" : "false");
}

void Boolean::setValue(bool newval)
{
        val = newval;
}

bool Boolean::getValue()
{
        return val;
}
